#include<iostream>
using namespace std;
#define maxn 5
int main(){
	char num[][maxn]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
	char *n;
	cin>>n;
	int idx=0;
	while(n[idx]!='\0'){
		if(n[idx]=='-'){
			cout<<"fu";
		}else{
			cout<<num[(int)(n[idx]-'0')];			
		}
		idx++;
		if(n[idx]!='\0'){
			cout<<" ";
		}
	}

	return 0;
}
